package com.youth.mq;

import org.springframework.cloud.stream.annotation.Output;
import org.springframework.messaging.MessageChannel;

/**
 * @InterfaceName MySource
 * @Description: TODO 自定义stream的消息发送通道
 * @Author yjwu
 * @Date 2020/3/14 16:13
 **/
public interface MySource {
    String OUTPUT = "myOutput";

    @Output(MySource.OUTPUT)
    MessageChannel output();
}
